package com.kymatrix.kycarbon.xsmd.common.business.common;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import lombok.experimental.SuperBuilder;

/**
 * 拓展多租户基类
 */
@Data
@SuperBuilder
@Accessors(chain=true)
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
public abstract class BaseTenantEntity extends BaseEntity {

    /**
     * 多租户编号
     */
    @TableField("tenant_id")
    private String tenantId;

}
